package com.regent.central.bill.repository.mrp.dto.billReturn.detail;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author: zhw
 * @company: 丽晶软件
 * @project: 巨牛云厂
 * @Date:Created in 2018/6/27
 */
public class BillMaterialReturnDetailDTO implements Serializable {
    private static final long serialVersionUID = 8523913264702431846L;

    /**
     * 退料单id
     */
    private String billReturnId;
    /**
     * 退料单的体系id
     */
    private String bossUntId;
    /**
     * 供应商id
     */
    private String supplierId;
    /**
     * 退料单单号
     */
    private String billReturnNo;
    /**
     * 退料的仓库id
     */
    private String storehouseId;
    /**
     * 记录库存变动记录ID, 用于撤销时撤销库存
     */
    private String stockChangeId;
    /**
     * 退料日期
     */
    private String dateReturn;
    /**
     * 制单员id
     */
    private String creatorId;
    /**
     * 制单员名字，（冗余）
     */
    private String creatorName;
    /**
     * 退料单备注
     */
    private String remark;

    /**
     * 退料金额
     */
    private BigDecimal amountTotal;

    /**
     * 收到的退料金额
     */
    private BigDecimal amountCollectTotal;
    /**
     * 退料SKU数量
     */
    private int quantitySku;
    private boolean cancel;

    /**
     * 退料单的物料信息
     */
    private List<ReturnDetailSkuDTO> skus = new ArrayList();
    /**
     * 退料单收退款记录
     */
    private List<ActionMaterialReturnCollectDTO> collects = new ArrayList();

    public String getStockChangeId() {
        return stockChangeId;
    }

    public void setStockChangeId(String stockChangeId) {
        this.stockChangeId = stockChangeId;
    }

    public BigDecimal getAmountCollectTotal() {
        return amountCollectTotal;
    }

    public void setAmountCollectTotal(BigDecimal amountCollectTotal) {
        this.amountCollectTotal = amountCollectTotal;
    }

    public List<ActionMaterialReturnCollectDTO> getCollects() {
        return collects;
    }

    public void setCollects(List<ActionMaterialReturnCollectDTO> collects) {
        this.collects = collects;
    }

    public String getBillReturnId() {
        return billReturnId;
    }

    public void setBillReturnId(String billReturnId) {
        this.billReturnId = billReturnId;
    }

    public String getBossUntId() {
        return bossUntId;
    }

    public void setBossUntId(String bossUntId) {
        this.bossUntId = bossUntId;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getBillReturnNo() {
        return billReturnNo;
    }

    public void setBillReturnNo(String billReturnNo) {
        this.billReturnNo = billReturnNo;
    }

    public String getStorehouseId() {
        return storehouseId;
    }

    public void setStorehouseId(String storehouseId) {
        this.storehouseId = storehouseId;
    }

    public String getDateReturn() {
        return dateReturn;
    }

    public void setDateReturn(String dateReturn) {
        this.dateReturn = dateReturn;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getAmountTotal() {
        return amountTotal;
    }

    public void setAmountTotal(BigDecimal amountTotal) {
        this.amountTotal = amountTotal;
    }

    public int getQuantitySku() {
        return quantitySku;
    }

    public void setQuantitySku(int quantitySku) {
        this.quantitySku = quantitySku;
    }

    public List<ReturnDetailSkuDTO> getSkus() {
        return skus;
    }

    public void setSkus(List<ReturnDetailSkuDTO> skus) {
        this.skus = skus;
    }

    public boolean isCancel() {
        return cancel;
    }

    public void setCancel(boolean cancel) {
        this.cancel = cancel;
    }
}
